#pragma once
#include "afxwin.h"
#include "mymessages.h"

// DocumentPropertiesDialog dialog

class DocumentPropertiesDialog : public CDialog
{
	DECLARE_DYNAMIC(DocumentPropertiesDialog)

public:
	DocumentPropertiesDialog(CWnd* pParent = NULL);   // standard constructor
	virtual ~DocumentPropertiesDialog();

// Dialog Data
	enum { IDD = IDD_DOCUMENTPROPERTIESDIALOG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedOk();
	CComboBox	compressionstepctrl;
	int			compressionstep;
	CComboBox	efectiveedgectrl;
	int			efectiveedge;
	CButton		twopathctrl;
	int			twopath;
};

// myPhaseDriveDilaog dialog

class myPhaseDriveDilaog : public CDialog
{
	DECLARE_DYNAMIC(myPhaseDriveDilaog)

public:
	myPhaseDriveDilaog(mymessages* list,CWnd* pParent = NULL);   // standard constructor
	virtual ~myPhaseDriveDilaog();

// Dialog Data
	enum { IDD = IDD_PHASEDRIVE };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	CEdit number_in_ns;
	CListCtrl mphaselist;
	afx_msg void OnBnClickedUpdate();
	mymessages* paramlist;
	afx_msg void OnHdnItemclickPhaselist(NMHDR *pNMHDR, LRESULT *pResult);
protected:
	virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
	int	StartOnNotify;
public:
	int OnItemSelect(void);
	CString numbertoshow;
};
